import wx
class MyFrame(wx.Frame):
    def __init__(self, parent, title):
        wx.Frame.__init__(self, parent, title=title,
                          size=(300, 200))
        self.panel = wx.Panel(self)
        self.staticText = wx.StaticText(self.panel,
                                        label="HelloWorld")


app = wx.App(False)
frame = MyFrame(None, 'Hello Wxpython')
frame.Show(True)
app.MainLoop()
